package br.com.loja.view.swing.form;

import br.com.loja.model.entity.ObservableEntity;
import br.com.loja.mvp.model.IModel;

/**
 * @brief Classe IFormEntity
 * @author David Luiz
 * @date 05/12/2014
 */
public interface IFormEntity<T extends ObservableEntity & IModel<T>> {

    void clearForm();

    void grabFocus();

    void disableForm(boolean op);

    void setModel(T model);

    T getModel(T model);

}
